<?php

namespace app\open\controller;

use app\common\controller\OpenApi;

/**
 * 用户
 */
class User extends OpenApi
{

    protected $noNeedLogin = [''];
    // 无需鉴权的接口,*表示全部
    protected $noNeedRight = ['*'];

    public function index()
    {
        $this->success('', $this->auth->getUserInfo());
    }


}
